package com.ds.smartstudio.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author yangsf
 * @since 2022-07-02 10:42:24
 */
@Getter
@Setter
@TableName("ds_area")
@ApiModel(value = "Area对象", description = "对应场所表")
public class Area {

    @ApiModelProperty("场所名，不可重复")
    private String dsAreaName;

    @ApiModelProperty("备注")
    @TableField("ds_area_note")
    private String dsAreaNote;

    @ApiModelProperty("创建时间 ")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("修改时间  ")
    @TableField(value = "modify_time", fill = FieldFill.INSERT_UPDATE)
    private Date modifyTime;

    @TableId(value = "ds_area_id", type = IdType.AUTO)
    private Integer dsAreaId;


}
